Optimal. Leaf size=62 \[ -\frac{\left (a+b (c x)^n\right )^p \left (\frac{b (c x)^n}{a}+1\right )^{-p} \, _2F_1\left (-\frac{1}{n},-p;-\frac{1-n}{n};-\frac{b (c x)^n}{a}\right )}{x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0350772, antiderivative size = 62, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.267, Rules used = {367, 12, 365, 364} \[ -\frac{\left (a+b (c x)^n\right )^p \left (\frac{b (c x)^n}{a}+1\right )^{-p} \, _2F_1\left (-\frac{1}{n},-p;-\frac{1-n}{n};-\frac{b (c x)^n}{a}\right )}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 367
Rule 12
Rule 365
Rule 364
Rubi steps
\begin{align*} \int \frac{\left (a+b (c x)^n\right )^p}{x^2} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{c^2 \left (a+b x^n\right )^p}{x^2} \, dx,x,c x\right )}{c}\\ &=c \operatorname{Subst}\left (\int \frac{\left (a+b x^n\right )^p}{x^2} \, dx,x,c x\right )\\ &=\left (c \left (a+b (c x)^n\right )^p \left (1+\frac{b (c x)^n}{a}\right )^{-p}\right ) \operatorname{Subst}\left (\int \frac{\left (1+\frac{b x^n}{a}\right )^p}{x^2} \, dx,x,c x\right )\\ &=-\frac{\left (a+b (c x)^n\right )^p \left (1+\frac{b (c x)^n}{a}\right )^{-p} \, _2F_1\left (-\frac{1}{n},-p;-\frac{1-n}{n};-\frac{b (c x)^n}{a}\right )}{x}\\ \end{align*}
Mathematica [A] time = 0.0394991, size = 59, normalized size = 0.95 \[ -\frac{\left (a+b (c x)^n\right )^p \left (\frac{b (c x)^n}{a}+1\right )^{-p} \, _2F_1\left (-\frac{1}{n},-p;1-\frac{1}{n};-\frac{b (c x)^n}{a}\right )}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.063, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( a+b \left ( cx \right ) ^{n} \right ) ^{p}}{{x}^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (\left (c x\right )^{n} b + a\right )}^{p}}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (\left (c x\right )^{n} b + a\right )}^{p}}{x^{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a + b \left (c x\right )^{n}\right )^{p}}{x^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (\left (c x\right )^{n} b + a\right )}^{p}}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]